package nc.ui.tc.tools.nclocator;

import nc.bs.framework.common.NCLocator;
import nc.itf.bugdet.AnnualBudget.IAnnualBudget;
import nc.itf.bugdet.Audit.IAudit;
import nc.itf.pub.IPubInfo;

public class MyNCLocator {
	private MyNCLocator() {
	}

	private static MyNCLocator locator = new MyNCLocator();

	public static MyNCLocator getLocator() {
		return locator;
	}

	public IPubInfo getIPubInfo() {
		return (IPubInfo) NCLocator.getInstance().lookup(
				IPubInfo.class.getName());
	}
public IAnnualBudget getIAnnualBudget() {
	return (IAnnualBudget) NCLocator.getInstance().lookup(
			IAnnualBudget.class.getName());
}
public IAudit getIAudit() {
	return (IAudit) NCLocator.getInstance().lookup(
			IAudit.class.getName());
}
}
